define( function() {
  function $(a){return document.querySelector(a)}
  function abc(a){return [...document.querySelectorAll(a)]}
  Array.prototype = {
      myForEach:function(fn){
        for(var i=0; i<this.length; i++){
           fn(this[i],i,this)
        }
      },
      myMap:function(fn){
        var arr = [];
        for (let i = 0; i < this.length; i++) {
          arr.push(fn(this[i],i,this))
          
        }
        return arr;
      } 
  }
  return {$,abc}
});